package io.renren.modules.sys.dao;

import io.renren.modules.sys.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-03-27 11:23:52
 */
@Mapper
public interface TransactionDao extends BaseMapper<TransactionEntity> {
    List<TransactionAnalysisEntity> getAnalysisList(@Param("shelvesid")int shelvesid,@Param("startime")String startime,@Param("endtime")String endtime);

    TransactionAnalysisStatisticsEntity getStatistics(@Param("shelvesid")int shelvesid, @Param("startime")String startime, @Param("endtime")String endtime);
}
